<style type="text/CSS">
HTML {
    Font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
 
body {
    margin: 10px;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
 
td,th {
    padding: 0;
}
 
.pure-table {
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    border: 1px solID #cbcbcb;
	margin-left: 57px;
}
 
.pure-table caption {
    color: #000;
    Font: italic 85%/1 arial,sans-serif;
    padding: 1em 0;
    text-align: center;
}
 
.pure-table td,.pure-table th {
    border-left: 1px solID #cbcbcb;
    border-wIDth: 0 0 0 1px;
    Font-size: inherit;
    margin: 0;
    overflow: visible;
    padding: .5em 1em;
}
 
.pure-table thead {
    background-color: #e0e0e0;
    color: #000;
    text-align: left;
    vertical-align: bottom;
}
 
.pure-table td {
    background-color: transparent;
}
 
.pure-table-bordered td {
    border-bottom: 1px solID #cbcbcb;
}
 
.pure-table-bordered tbody>tr:last-child>td {
    border-bottom-wIDth: 0;
}
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">订单号:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[order_no]" type="text" value="{$row.order_no}" readonly="readonly">
        </div>
    </div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">手机号:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.mobile}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">用户名:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.username}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">物流名称:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.logistics_name}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">快递单号:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.express_number}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">支付价格:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.pay_money}" readonly="readonly">
	    </div>
	</div>
	
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">添加时间:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.create_time|date='Y-m-d H:i:s',###}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">订单状态:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text"
			{switch $row.status }
			    {case 1 }value="待支付"{/case}
			    {case 2}value="待发货"{/case}
			    {case 3}value="待收货"{/case}
			    {case 4}value="已完成"{/case}
			    {case 5}value="已取消"{/case}
			    {default /}默认情况
			{/switch}
			 
			 readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">收货人:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.username}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">收货手机号:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.mobile}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">收货地址:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" value="{$row.province_name}{$row.city_name}{$row.county_name}{$row.address}{$row.housenumber}" readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">支付状态:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text"
			{switch $row.pay_status }
			    {case 1 }value="未支付"{/case}
			    {case 2}value="支付成功"{/case}
			    {default /}默认情况
			{/switch}
			readonly="readonly">
	    </div>
	</div>
	<div class="form-group">
	    <label for="c-name" class="control-label col-xs-12 col-sm-2">支付成功时间:</label>
	    <div class="col-xs-12 col-sm-8">
	        <input  class="form-control"  type="text" {gt name="row.pay_time" value="5"} value="{$row.pay_time|date='Y-m-d H:i:s',###|default=''}" {/gt}
  readonly="readonly">
	    </div>
	</div>
	<hr/>
	<h2 style="margin-left: 17px;font-weight:bold">商品信息</h2>
		<table class="pure-table pure-table-bordered">
			<thead>
				<tr>
					<th>商品名称</th>
					<th>属性名称</th>
					<th>数量</th>
					<th>单价</th>
					<th>添加时间</th>
				</tr>
			</thead>
		
			<tbody>
				{volist name="goodsInfo" id="vo"}
				<tr>
					<td>{$vo.goods_name}</td>
					<td>{$vo.attr_name}</td>
					<td>{$vo.number}</td>
					<td>{$vo.price}</td>
					<td>{$vo.create_time|date='Y-m-d H:i:s',###|default=''}</td>
				</tr>
				{/volist}
			</tbody>
		</table>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>

